package cn.signalpha.modules.shop.vo;

import cn.signalpha.modules.shop.dto.SellerDTO;
import cn.signalpha.modules.shop.entity.Seller;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 视图实体类
 *
 * @author signalpha
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SellerVO对象", description = "商户")
public class SellerVO extends Seller {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "扩展信息")
	private SellerExtVO extVO;

	@ApiModelProperty(value = "商户的自提配置")
	private List<SellerPickConfigVO> sellerPickConfigList;

	@ApiModelProperty(value = "商户的同城配送配置")
	private SellerDeliveryConfigVO sellerDeliveryConfig;

	@ApiModelProperty(value = "距离，单位KM")
	private String distance;

	@ApiModelProperty(value = "商户更新信息")
	private SellerDTO.SellerUpdateDTO updateInfoVO;

}
